﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.ComponentModel;

namespace XCommunity
{
  public class XCommunitySection : ConfigurationSection
  {

    [ConfigurationProperty( "contextType", IsRequired = true )]
    [TypeConverter( typeof( TypeNameConverter ) )]
    public Type ContextType
    {
      get { return (Type) base["contextType"]; }
      set { base["contextType"] = value; }
    }

    [ConfigurationProperty( "path", IsRequired = true )]
    public string Path
    {
      get { return (string) base["path"]; }
      set { base["path"] = value; }
    }

  }
}
